package com.anjubao.parking.municipal.parkinglot.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * 统计接口返回信息
 * @author anjubao
 */
@ApiModel(value = "ParkingLotDeviceResDto", description = "统计信息")
@Data
@ToString
public class ParkingLotMonitorResDto {

    /**
     * 设备类型
     */
    @ApiModelProperty(value = "设备类型 1:充电桩,2:视频桩,3:地磁,4:pda,5:诱导屏,0:在线/离线总数", required = true)
    private Integer deviceType;

    /**
     * 设备在线数
     */
    @ApiModelProperty(value = "在线数", required = true)
    private Integer online;

    /**
     * 设备离线数
     */
    @ApiModelProperty(value = "离线数", required = true)
    private Integer offline;

    /**
     * 设备总数
     */
    @ApiModelProperty(value = "设备总数", required = true)
    private Integer total;

    /**
     * 设备故障数
     */
    @ApiModelProperty(value = "设备故障数", required = true)
    private Integer deviceFaultNum;
}
